const app = getApp() 
Component({  
  properties: {  
    title: {  
      type: String,  
      value: '页面标题'  
    },
	showadd: {
	  type: Boolean,  
	  value: false  
	},
	shop_id: {
	  type: Number,  
	  value: ''  
	},
	
  },
  data:{
    statusBarHeight: app.globalData.statusBarHeight,
  },  
  methods: {  
    goBack(e) {  
		const index=e.currentTarget.dataset.index;
		const shop_id=e.currentTarget.dataset.shop_id;
		this.triggerEvent("itemChange",{index,shop_id});
    }  
  },
})